package com.rhythm.commons.collections;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map.Entry;

/**
 * @author Michael J. Lee
 * @see HashMap
 * @see Iterable
 */
public class IteratableHashMap<K,V> extends HashMap<K,V> implements Iterable<Entry<K,V>>{

    private static final long serialVersionUID = 1;

    public Iterator<Entry<K, V>> iterator() {
        return entrySet().iterator();
    }
}
